<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<h1><bean:message key="projects.search.title"/></h1>

<div id="search_project">
	<html:form action="/projects">
		<html:hidden property="cmd" value="search" />
		<p>
			<label for="subject" accesskey="S"><bean:message key="projects.search.subject" /> :</label>
			<html:text styleId="subject" property="subject" />
		</p>

		<p>
			<label for="shortDescription" accesskey="D"><bean:message key="projects.search.shortDescription" /> :</label>
			<html:text styleId="shortDescription" property="shortDescription" />
		</p>

		<p>
			<label for="status" accesskey="t"><bean:message key="projects.search.status" /> :</label>
			<html:select property="status">
				<html:option value="0" key="projects.search.open" />
    			<html:option value="1" key="projects.search.close" />
    			<html:option value="2" key="projects.search.all" />
			</html:select>
		</p>

		<p id="search_submit">
			<html:submit><bean:message key="projects.search.validate" /></html:submit>
			<html:reset><bean:message key="projects.search.cancel" /></html:reset>
        </p>

	</html:form>
</div>